package com.ygq.manageGame.bean;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
@TableName("manage")
@AllArgsConstructor
@NoArgsConstructor
public class Manage {
    @NotEmpty(message = "请输入用户名")
    private String adminName;
    @NotEmpty(message = "密码")
    private String password;
}
